#ifndef NODEEVENT_H
#define NODEEVENT_H

#include "bga/system/Event.h"
#include "bga/system/NodeBase.h"

/**
 * \namespace bga
 * \brief API namespace
 */
namespace bga
{

/**
 * \brief This class defines an event thrown by using Nodes
 */
class BOARD_HELL_ENGINE NodeEvent : public Event< bga::NodeBase >
{

	public:

        /**
         * Default constructor
         */
		NodeEvent();

        /**
         * Constructor with sender
         * \param node : Node which threw the event
         */
		NodeEvent(const NodeBase& node);

        /**
         * Destructor
         */
		virtual ~NodeEvent();

		/*void setActingNode(const NodeBase& node);
		const NodeBase* getActingNode();

	private:
        const NodeBase* nodePutIntoAction;*/

};

}


#endif // NODEEVENT_H

